//
// Created by Administrator on 2020/8/19.
//

#ifndef EXAMPLE_CPP_STOCK_H
#define EXAMPLE_CPP_STOCK_H


class Stock {
private:
    int stock;
public:
    Stock();

    Stock(int initStock);

    ~Stock();

    void showStock();

    void incStock(int stockNum);

    void descStock(int stockNum);

    const Stock &maxVal(const Stock &oStock) const;
};


#endif //EXAMPLE_CPP_STOCK_H
